package cn.itcast.ks.service;

import cn.itcast.ks.common.ResponseResult;
import cn.itcast.ks.pojo.dtos.NotWorkDto;
import cn.itcast.ks.pojo.dtos.ShowWorkDto;
import cn.itcast.ks.pojo.dtos.WorkDto;
import cn.itcast.ks.pojo.entity.Assignment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * @author wjs
 * @version 1.0
 * @date 2021/12/5 0005 下午 4:05
 */
public interface IAssignmentService extends IService<Assignment> {
    ResponseResult findStudentWork(ShowWorkDto dto);

    ResponseResult showWorks(ShowWorkDto showWorkDto);

    @Transactional
    ResponseResult publishWork(WorkDto workDto);

    ResponseResult findNotWorkByTime(NotWorkDto notWorkDto);
}
